wpCloud\StatelessMedia\ShortPixel A

Total Complexity 74
Dependencies 2
Dependents 1
Total lines 463
Lines of code 262
Logical lines of code 182
Comment lines 149
Methods 18
Properties 6

Methods 18

Method Rating Maintainability Complexity Lines of code
add_media()
A
43 14 39
shortpixel_image_exists()
A
46 12 38
sync_backup_file()
S
50 6 27
shortpixel_skip_delete_backups_and_webps()
S
53 6 20
returnSubDir()
S
54 5 19
wp_stateless_add_media_args()
S
57 5 17
shortpixel_image_urls()
S
58 4 14
module_init()
S
55 3 18
shortpixel_image_optimised()
S
62 3 11
wp_update_attachment_metadata()
S
64 3 9
sync_webp_file()
S
65 2 8
shortpixel_skip_backup()
S
71 2 6
getBackupFolderAny()
S
68 2 7
shortpixel_webp_image_base()
S
68 2 7
shortpixel_skip_restore_image()
S
66 2 8
shortpixel_before_restore_image()
S
78 1 3
shortPixelJS()
S
66 1 7
handleRestoreBackup()
S
76 1 4